
package com.itmayiedu.controller;

import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.itmayiedu.service.RedisService;

@RestController
public class IndexController {
	@Autowired
	private RedisService redisService;

	@RequestMapping
	public String setString(String key,String value){
		redisService.setString(key,value);
		return "";
	}
}
